package com.penghaisoft.microwms.common.data.model;


import com.penghaisoft.microwms.common.BaseEntity;
import com.penghaisoft.microwms.common.util.CommonUtils;

/**
 * @Description 库位model
 * @author gaofeng
 * @date 2017年5月24日 下午2:45:32
 * @version 1.0
 */

public class MdLocation extends BaseEntity {

	/**
	 * 主键id
	 */
	private String locationId;

	/**
	 * 库位编码
	 */
	private String locationCode;

	/**
	 * 上架顺序
	 */
	private String shelfOrder;

	/**
	 * 盘点顺序
	 */
	private String checkOrder;

	/**
	 * 拣货顺序
	 */
	private String pickOrder;

	/**
	 * 库位使用
	 */
	private String locationUse;

	/**
	 * 是否允许拣货
	 */
	private String pickFlag;

	/**
	 * 是否开启库内交接 0：未开启 1：开启
	 */
	private String isOpenKnFlag;

	/**
	 * 库位类型
	 */
	private String locationType;

	/**
	 * 库位属性
	 */
	private String locationAttr;

	/**
	 * 周转需求
	 */
	private String turnDemand;//

	/**
	 * 库存环境
	 */
	private String stockEnv;

	/**
	 * 仓库编码
	 */
	private String warehouseCode;

	/**
	 * 区域编码
	 */
	private String regionCode;

	/**
	 * 库区编码
	 */
	private String areaCode;

	/**
	 * 校验码
	 */
	private String checkCode;

	/**
	 * 工作区
	 */
	private String workArea;

	/**
	 * 端口1
	 */
	private String port1;

	/**
	 * 端口2
	 */
	private String port2;

	/**
	 * 端口3
	 */
	private String port3;

	/**
	 * 体积限制
	 */
	private java.math.BigDecimal volumeLimit;

	/**
	 * 重量限制
	 */
	private java.math.BigDecimal weightLimit;

	/**
	 * 箱数限制
	 */
	private Integer boxLimit;

	/**
	 * 数量限制
	 */
	private Integer qtyLimit;

	/**
	 * 托盘限制
	 */
	private Integer palletLimit;

	/**
	 * 长度
	 */
	private java.math.BigDecimal length;

	/**
	 * 宽度
	 */
	private java.math.BigDecimal width;

	/**
	 * 高度
	 */
	private java.math.BigDecimal height;

	/**
	 * X坐标
	 */
	private Integer xcoordinate;

	/**
	 * Y坐标
	 */
	private Integer ycoordinate;

	/**
	 * Z坐标
	 */
	private Integer zcoordinate;

	/**
	 * X像素
	 */
	private Integer xpixels;

	/**
	 * Y像素
	 */
	private Integer ypixels;

	/**
	 * Z像素
	 */
	private Integer zpixels;

	/**
	 * 排
	 */
	private String locRow;

	/**
	 * 层数
	 */
	private Integer layerNum;

	/**
	 * 列
	 */
	private String locColumn;

	/**
	 * 巷道
	 */
	private String bord;

	/**
	 * 允许混放产品 1是 0否
	 */
	private String productMix;

	/**
	 * 允许混放批次 1是 0否
	 */
	private String batchMix;

	/**
	 * 忽略ID 1是 0否
	 */
	private String ignoreId;

	/**
	 * 工厂
	 */
	private String factoryCode;

	/**
	 * 工厂名称
	 */
	private String factoryName;

	protected String userDefined5;// 自定义5
	protected String userDefined4;// 自定义4

	public String getUserDefined4() {
		return userDefined4;
	}

	public void setUserDefined4(String userDefined4) {
		this.userDefined4 = userDefined4;
	}

	public String getUserDefined5() {
		return userDefined5;
	}

	public void setUserDefined5(String userDefined5) {
		this.userDefined5 = userDefined5;
	}

	@Override
	public void preInsert() {
		super.preInsert();
		setLocationId(CommonUtils.getUUID());
	}

	public String getLocationId() {
		return this.locationId;
	}

	public void setLocationId(String value) {
		this.locationId = value;
	}

	public String getLocationCode() {
		return this.locationCode;
	}

	public void setLocationCode(String value) {
		this.locationCode = value;
	}

	public String getShelfOrder() {
		return this.shelfOrder;
	}

	public void setShelfOrder(String value) {
		this.shelfOrder = value;
	}

	public String getCheckOrder() {
		return this.checkOrder;
	}

	public void setCheckOrder(String value) {
		this.checkOrder = value;
	}

	public String getPickOrder() {
		return this.pickOrder;
	}

	public void setPickOrder(String value) {
		this.pickOrder = value;
	}

	public String getLocationUse() {
		return this.locationUse;
	}

	public void setLocationUse(String value) {
		this.locationUse = value;
	}

	public String getPickFlag() {
		return this.pickFlag;
	}

	public void setPickFlag(String value) {
		this.pickFlag = value;
	}

	public String getLocationType() {
		return this.locationType;
	}

	public void setLocationType(String value) {
		this.locationType = value;
	}

	public String getLocationAttr() {
		return this.locationAttr;
	}

	public void setLocationAttr(String value) {
		this.locationAttr = value;
	}

	public String getTurnDemand() {
		return this.turnDemand;
	}

	public void setTurnDemand(String value) {
		this.turnDemand = value;
	}

	public String getStockEnv() {
		return this.stockEnv;
	}

	public void setStockEnv(String value) {
		this.stockEnv = value;
	}

	public String getWarehouseCode() {
		return this.warehouseCode;
	}

	public void setWarehouseCode(String value) {
		this.warehouseCode = value;
	}

	public String getRegionCode() {
		return this.regionCode;
	}

	public void setRegionCode(String value) {
		this.regionCode = value;
	}

	public String getAreaCode() {
		return this.areaCode;
	}

	public void setAreaCode(String value) {
		this.areaCode = value;
	}

	public String getCheckCode() {
		return this.checkCode;
	}

	public void setCheckCode(String value) {
		this.checkCode = value;
	}

	public String getWorkArea() {
		return this.workArea;
	}

	public void setWorkArea(String value) {
		this.workArea = value;
	}

	public String getPort1() {
		return this.port1;
	}

	public void setPort1(String value) {
		this.port1 = value;
	}

	public String getPort2() {
		return this.port2;
	}

	public void setPort2(String value) {
		this.port2 = value;
	}

	public String getPort3() {
		return this.port3;
	}

	public void setPort3(String value) {
		this.port3 = value;
	}

	public java.math.BigDecimal getVolumeLimit() {
		return this.volumeLimit;
	}

	public void setVolumeLimit(java.math.BigDecimal value) {
		this.volumeLimit = value;
	}

	public java.math.BigDecimal getWeightLimit() {
		return this.weightLimit;
	}

	public void setWeightLimit(java.math.BigDecimal value) {
		this.weightLimit = value;
	}

	public Integer getBoxLimit() {
		return this.boxLimit;
	}

	public void setBoxLimit(Integer value) {
		this.boxLimit = value;
	}

	public Integer getQtyLimit() {
		return this.qtyLimit;
	}

	public void setQtyLimit(Integer value) {
		this.qtyLimit = value;
	}

	public Integer getPalletLimit() {
		return this.palletLimit;
	}

	public void setPalletLimit(Integer value) {
		this.palletLimit = value;
	}

	public java.math.BigDecimal getLength() {
		return this.length;
	}

	public void setLength(java.math.BigDecimal value) {
		this.length = value;
	}

	public java.math.BigDecimal getWidth() {
		return this.width;
	}

	public void setWidth(java.math.BigDecimal value) {
		this.width = value;
	}

	public java.math.BigDecimal getHeight() {
		return this.height;
	}

	public void setHeight(java.math.BigDecimal value) {
		this.height = value;
	}

	public Integer getXcoordinate() {
		return this.xcoordinate;
	}

	public void setXcoordinate(Integer value) {
		this.xcoordinate = value;
	}

	public Integer getYcoordinate() {
		return this.ycoordinate;
	}

	public void setYcoordinate(Integer value) {
		this.ycoordinate = value;
	}

	public Integer getZcoordinate() {
		return this.zcoordinate;
	}

	public void setZcoordinate(Integer value) {
		this.zcoordinate = value;
	}

	public Integer getXpixels() {
		return this.xpixels;
	}

	public void setXpixels(Integer value) {
		this.xpixels = value;
	}

	public Integer getYpixels() {
		return this.ypixels;
	}

	public void setYpixels(Integer value) {
		this.ypixels = value;
	}

	public Integer getZpixels() {
		return this.zpixels;
	}

	public void setZpixels(Integer value) {
		this.zpixels = value;
	}

	public String getLocRow() {
		return this.locRow;
	}

	public void setLocRow(String value) {
		this.locRow = value;
	}

	public Integer getLayerNum() {
		return this.layerNum;
	}

	public void setLayerNum(Integer value) {
		this.layerNum = value;
	}

	public String getLocColumn() {
		return this.locColumn;
	}

	public void setLocColumn(String value) {
		this.locColumn = value;
	}

	public String getBord() {
		return this.bord;
	}

	public void setBord(String value) {
		this.bord = value;
	}

	public String getProductMix() {
		return this.productMix;
	}

	public void setProductMix(String value) {
		this.productMix = value;
	}

	public String getBatchMix() {
		return this.batchMix;
	}

	public void setBatchMix(String value) {
		this.batchMix = value;
	}

	public String getIgnoreId() {
		return this.ignoreId;
	}

	public void setIgnoreId(String value) {
		this.ignoreId = value;
	}

	public String getFactoryName() {
		return factoryName;
	}

	public void setFactoryName(String factoryName) {
		this.factoryName = factoryName;
	}

	public String getFactoryCode() {
		return factoryCode;
	}

	public void setFactoryCode(String factoryCode) {
		this.factoryCode = factoryCode;
	}

	public String getIsOpenKnFlag() {
		return isOpenKnFlag;
	}

	public void setIsOpenKnFlag(String isOpenKnFlag) {
		this.isOpenKnFlag = isOpenKnFlag;
	}

}
